<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="<c:url value="/staticResource/scripts/PageList.js"/>" type="text/javascript"></script>
<title>创建角色</title>
</head>
<body>

    <p class='breadcrumb'>权限管理 &raquo; 角色列表</p>

    <form:form modelAttribute="voModel" method="post" action="save.do" role="form" class="well form-horizontal">
        <form:hidden path="version" value="0" />

        <div class="form-group">
            <label class="col-sm-2 control-label" for="name">角色名称:</label>
            <div class="col-sm-10 controls">
                <form:input path="name" type="text" class="form-control" placeholder="角色名称"/>
                <form:errors path="name" />
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label" for="description">描述:</label>
            <div class="col-sm-10 controls">
                <form:input path="description" type="text" class="form-control" placeholder="描述"/>
                <form:errors path="description" />
            </div>
        </div>

        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" id="saveBtn" name="saveBtn" class="btn btn-primary">保存</button>
                <a class="btn btn-default" href="${ctx}/system/role/list.do">返回</a>
            </div>
        </div>

    </form:form>

</body>
</html>